package com.youdoneed.friends.vo;

import com.youdoneed.user.model.User;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.ArrayList;
import java.util.List;

@ApiModel("查询通讯录好友关系参数")
public class PhoneAddressVO {
    @ApiModelProperty("未注册用户")
    public List<UnregisteredUser> unregisteredUsers = new ArrayList<>();

    @ApiModelProperty("已注册用户")
    public List<RegisteredUser> registeredUsers = new ArrayList<>();

    public List<UnregisteredUser> getUnregisteredUsers() {
        return unregisteredUsers;
    }

    public void setUnregisteredUsers(List<UnregisteredUser> unregisteredUsers) {
        this.unregisteredUsers = unregisteredUsers;
    }

    public List<RegisteredUser> getRegisteredUsers() {
        return registeredUsers;
    }

    public void setRegisteredUsers(List<RegisteredUser> registeredUsers) {
        this.registeredUsers = registeredUsers;
    }

    public static class UnregisteredUser {
        private User user;
        private Integer hasInvite;

        public User getUser() {
            return user;
        }

        public void setUser(User user) {
            this.user = user;
        }

        public Integer getHasInvite() {
            return hasInvite;
        }

        public void setHasInvite(Integer hasInvite) {
            this.hasInvite = hasInvite;
        }
    }

    public static class RegisteredUser {
        private User user;
        private Long mutualFriendCount;
        private Integer handleFlag;
        private String confirmId;

        public User getUser() {
            return user;
        }

        public void setUser(User user) {
            this.user = user;
        }

        public Long getMutualFriendCount() {
            return mutualFriendCount;
        }

        public void setMutualFriendCount(Long mutualFriendCount) {
            this.mutualFriendCount = mutualFriendCount;
        }

        public Integer getHandleFlag() {
            return handleFlag;
        }

        public void setHandleFlag(Integer handleFlag) {
            this.handleFlag = handleFlag;
        }

        public String getConfirmId() {
            return confirmId;
        }

        public void setConfirmId(String confirmId) {
            this.confirmId = confirmId;
        }
    }

}